
<!DOCTYPE HTML>
<html lang="zh-hans" >
    <head>
        <meta charset="UTF-8">
        <meta content="text/html; charset=utf-8" http-equiv="Content-Type">
        <title>vimrc示例 · 日常学习笔记</title>
        <meta http-equiv="X-UA-Compatible" content="IE=edge" />
        <meta name="description" content="">
        <meta name="generator" content="GitBook 3.2.3">
        
        
        
    
    <link rel="stylesheet" href="../gitbook/style.css">

    
            
                
                <link rel="stylesheet" href="../gitbook/gitbook-plugin-expandable-chapters/expandable-chapters.css">
                
            
                
                <link rel="stylesheet" href="../gitbook/gitbook-plugin-pageview-count/plugin.css">
                
            
                
                <link rel="stylesheet" href="../gitbook/gitbook-plugin-code/plugin.css">
                
            
                
                <link rel="stylesheet" href="../gitbook/gitbook-plugin-back-to-top-button/plugin.css">
                
            
                
                <link rel="stylesheet" href="../gitbook/gitbook-plugin-splitter/splitter.css">
                
            
                
                <link rel="stylesheet" href="../gitbook/gitbook-plugin-search-pro/search.css">
                
            
                
                <link rel="stylesheet" href="../gitbook/gitbook-plugin-anchors/plugin.css">
                
            
                
                <link rel="stylesheet" href="../gitbook/gitbook-plugin-page-footer-ex/style/plugin.css">
                
            
                
                <link rel="stylesheet" href="../gitbook/gitbook-plugin-advanced-emoji/emoji-website.css">
                
            
                
                <link rel="stylesheet" href="../gitbook/gitbook-plugin-highlight/website.css">
                
            
                
                <link rel="stylesheet" href="../gitbook/gitbook-plugin-fontsettings/website.css">
                
            
        

    

    
        
    
        
    
        
    
        
    
        
    
        
    

        
    
    
    
    <meta name="HandheldFriendly" content="true"/>
    <meta name="viewport" content="width=device-width, initial-scale=1, user-scalable=no">
    <meta name="apple-mobile-web-app-capable" content="yes">
    <meta name="apple-mobile-web-app-status-bar-style" content="black">
    <link rel="apple-touch-icon-precomposed" sizes="152x152" href="../gitbook/images/apple-touch-icon-precomposed-152.png">
    <link rel="shortcut icon" href="../gitbook/images/favicon.ico" type="image/x-icon">

    
    <link rel="next" href="vimrc备份.html" />
    
    
    <link rel="prev" href="YouCompleteMe安装.html" />
    

    <style>
    @media only screen and (max-width: 640px) {
        .book-header .hidden-mobile {
            display: none;
        }
    }
    </style>
    <script>
        window["gitbook-plugin-github-buttons"] = {"buttons":[{"user":"Xiechengqi","repo":"LearningNotes","type":"star","size":"small","count":true}]};
    </script>

    </head>
    <body>
        
<div class="book">
    <div class="book-summary">
        
            
<div id="book-search-input" role="search">
    <input type="text" placeholder="输入并搜索" />
</div>

            
                <nav role="navigation">
                


<ul class="summary">
    
    

    

    
        
        
    
        <li class="chapter " data-level="1.1" data-path="../">
            
                <a href="../">
            
                    
                    Introduction
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.2" data-path="../网络学习资源整理/">
            
                <a href="../网络学习资源整理/">
            
                    
                    网络学习资源整理
            
                </a>
            

            
            <ul class="articles">
                
    
        <li class="chapter " data-level="1.2.1" data-path="../网络学习资源整理/技术学习.html">
            
                <a href="../网络学习资源整理/技术学习.html">
            
                    
                    技术学习
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.2.2" data-path="../网络学习资源整理/运维博客.html">
            
                <a href="../网络学习资源整理/运维博客.html">
            
                    
                    运维博客
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.2.3" data-path="../网络学习资源整理/工具.html">
            
                <a href="../网络学习资源整理/工具.html">
            
                    
                    工具
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.2.4" data-path="../网络学习资源整理/静态博客模板.html">
            
                <a href="../网络学习资源整理/静态博客模板.html">
            
                    
                    静态博客模板
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.2.5" data-path="../网络学习资源整理/静态网站pages服务.html">
            
                <a href="../网络学习资源整理/静态网站pages服务.html">
            
                    
                    静态网站pages服务
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.2.6" data-path="../网络学习资源整理/静态pages的CI和CD.html">
            
                <a href="../网络学习资源整理/静态pages的CI和CD.html">
            
                    
                    静态pages的CI和CD
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.2.7" data-path="../网络学习资源整理/Hugo学习.html">
            
                <a href="../网络学习资源整理/Hugo学习.html">
            
                    
                    Hugo学习
            
                </a>
            

            
        </li>
    

            </ul>
            
        </li>
    
        <li class="chapter " data-level="1.3" data-path="../心灵鸡汤/">
            
                <a href="../心灵鸡汤/">
            
                    
                    心灵鸡汤
            
                </a>
            

            
            <ul class="articles">
                
    
        <li class="chapter " data-level="1.3.1" data-path="../心灵鸡汤/心灵鸡汤.html">
            
                <a href="../心灵鸡汤/心灵鸡汤.html">
            
                    
                    语录
            
                </a>
            

            
        </li>
    

            </ul>
            
        </li>
    
        <li class="chapter " data-level="1.4" data-path="../Linux/">
            
                <a href="../Linux/">
            
                    
                    Linux
            
                </a>
            

            
            <ul class="articles">
                
    
        <li class="chapter " data-level="1.4.1" data-path="../Linux/Linux常用命令.html">
            
                <a href="../Linux/Linux常用命令.html">
            
                    
                    Linux常用命令
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.4.2" data-path="../Linux/Linux小知识.html">
            
                <a href="../Linux/Linux小知识.html">
            
                    
                    平时 linux 遇到的问题解决办法和扩展小知识
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.4.3" data-path="../Linux/Linux性能相关常用命令.html">
            
                <a href="../Linux/Linux性能相关常用命令.html">
            
                    
                    Linux性能相关常用命令
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.4.4" data-path="../Linux/Linux各种安装下载慢解决方法.html">
            
                <a href="../Linux/Linux各种安装下载慢解决方法.html">
            
                    
                    Linux各种安装下载慢解决方法
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.4.5" data-path="../Linux/APT-剖析详解.html">
            
                <a href="../Linux/APT-剖析详解.html">
            
                    
                    APT 原理剖析、详解
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.4.6" data-path="../Linux/Linux主机、虚拟机和docker网络配置.html">
            
                <a href="../Linux/Linux主机、虚拟机和docker网络配置.html">
            
                    
                    Linux 主机、虚拟机和docker网络配置
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.4.7" data-path="../Linux/Linux文件系统学习.html">
            
                <a href="../Linux/Linux文件系统学习.html">
            
                    
                    Linux文件系统学习
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.4.8" data-path="../Linux/Linux用户和用户组管理.html">
            
                <a href="../Linux/Linux用户和用户组管理.html">
            
                    
                    Linux用户和用户组管理
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.4.9" data-path="../Linux/Linux用户增删改等学习.html">
            
                <a href="../Linux/Linux用户增删改等学习.html">
            
                    
                    Linux用户增删改等学习.md
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.4.10" data-path="../Linux/Linux程序存放目录.html">
            
                <a href="../Linux/Linux程序存放目录.html">
            
                    
                    Linux程序存放目录.md
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.4.11" data-path="../Linux/Linux编译安装软件包详解.html">
            
                <a href="../Linux/Linux编译安装软件包详解.html">
            
                    
                    Linux C/C++ 软件包编译、安装原理详解
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.4.12" data-path="../Linux/SSH详解.html">
            
                <a href="../Linux/SSH详解.html">
            
                    
                    SSH 详解
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.4.13" data-path="../Linux/Tomcat和Ngnix和Apache.html">
            
                <a href="../Linux/Tomcat和Ngnix和Apache.html">
            
                    
                    Tomcat和Ngnix和Apache.md
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.4.14" data-path="../Linux/UbuntuSoftwareInstall.html">
            
                <a href="../Linux/UbuntuSoftwareInstall.html">
            
                    
                    Ubuntu 软件包安装
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.4.15" data-path="../Linux/YAML-配置文件语言.html">
            
                <a href="../Linux/YAML-配置文件语言.html">
            
                    
                    YAML 配置文件语言
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.4.16" data-path="../Linux/bin目录详解.html">
            
                <a href="../Linux/bin目录详解.html">
            
                    
                    bin目录详解.md
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.4.17" data-path="../Linux/ffmpeg详解.html">
            
                <a href="../Linux/ffmpeg详解.html">
            
                    
                    ffmpeg学习
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.4.18" data-path="../Linux/trans命令.html">
            
                <a href="../Linux/trans命令.html">
            
                    
                    trans命令
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.4.19" data-path="../Linux/yum和rpm.html">
            
                <a href="../Linux/yum和rpm.html">
            
                    
                    Yum 和 RPM
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.4.20" data-path="../Linux/从BashShell启动“窥探”Linux环境变量相关文件.html">
            
                <a href="../Linux/从BashShell启动“窥探”Linux环境变量相关文件.html">
            
                    
                    Linux环境变量详解
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.4.21" data-path="../Linux/新创建主机常用初始化配置.html">
            
                <a href="../Linux/新创建主机常用初始化配置.html">
            
                    
                    新建主机常用初始化配置
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.4.22" data-path="../Linux/正则表达式学习.html">
            
                <a href="../Linux/正则表达式学习.html">
            
                    
                    正则表达式
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.4.23" data-path="../Linux/通过Linux开机启动项展开学习.html">
            
                <a href="../Linux/通过Linux开机启动项展开学习.html">
            
                    
                    Linux开机启动项学习
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.4.24" data-path="../Linux/防火墙学习.html">
            
                <a href="../Linux/防火墙学习.html">
            
                    
                    防火墙学习笔记
            
                </a>
            

            
        </li>
    

            </ul>
            
        </li>
    
        <li class="chapter " data-level="1.5" data-path="../Python/">
            
                <a href="../Python/">
            
                    
                    Python
            
                </a>
            

            
            <ul class="articles">
                
    
        <li class="chapter " data-level="1.5.1" data-path="../Python/BeautifulSoup.md">
            
                <span>
            
                    
                    Python3 BeautifulSoup 学习记录
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.5.2" data-path="../Python/Django.html">
            
                <a href="../Python/Django.html">
            
                    
                    Python Django 学习笔记
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.5.3" data-path="../Python/IPython使用技巧.html">
            
                <a href="../Python/IPython使用技巧.html">
            
                    
                    IPython 使用技巧
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.5.4" data-path="../Python/Numpy.html">
            
                <a href="../Python/Numpy.html">
            
                    
                    Python Numpy 学习
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.5.5" data-path="../Python/Python小知识.html">
            
                <a href="../Python/Python小知识.html">
            
                    
                    Python 学习遇到的问题解决或扩展小知识
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.5.6" data-path="../Python/Python模块管理总结.html">
            
                <a href="../Python/Python模块管理总结.html">
            
                    
                    Python 模块管理总结
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.5.7" data-path="../Python/flask学习.md">
            
                <span>
            
                    
                    Flask 学习
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.5.8" data-path="../Python/matplotlib.html">
            
                <a href="../Python/matplotlib.html">
            
                    
                    matplotlib.md
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.5.9" data-path="../Python/re正则表达式.html">
            
                <a href="../Python/re正则表达式.html">
            
                    
                    re正则表达式.md
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.5.10" data-path="../Python/图形界面学习.html">
            
                <a href="../Python/图形界面学习.html">
            
                    
                    图形界面学习.md
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.5.11" data-path="../Python/常用图像库学习.html">
            
                <a href="../Python/常用图像库学习.html">
            
                    
                    Python3 常用图像库
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.5.12" data-path="../Python/进阶学习.html">
            
                <a href="../Python/进阶学习.html">
            
                    
                    Python3 进阶学习笔记
            
                </a>
            

            
        </li>
    

            </ul>
            
        </li>
    
        <li class="chapter " data-level="1.6" data-path="../Shell/">
            
                <a href="../Shell/">
            
                    
                    Shell
            
                </a>
            

            
            <ul class="articles">
                
    
        <li class="chapter " data-level="1.6.1" data-path="../Shell/shell小知识.html">
            
                <a href="../Shell/shell小知识.html">
            
                    
                    Shell小知识
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.6.2" data-path="../Shell/Shell奇淫技巧.html">
            
                <a href="../Shell/Shell奇淫技巧.html">
            
                    
                    Shell奇淫技巧
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.6.3" data-path="../Shell/Linux文本操作三大利器-grep、sed、awk.html">
            
                <a href="../Shell/Linux文本操作三大利器-grep、sed、awk.html">
            
                    
                    grep、sed、awk 详解
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.6.4" data-path="../Shell/Shell文本处理常用工具补遗.html">
            
                <a href="../Shell/Shell文本处理常用工具补遗.html">
            
                    
                    Shell文本处理常用工具补遗
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.6.5" data-path="../Shell/句子解析.html">
            
                <a href="../Shell/句子解析.html">
            
                    
                    句子解析
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.6.6" data-path="../Shell/识别是否是root用户.html">
            
                <a href="../Shell/识别是否是root用户.html">
            
                    
                    识别是否是root用户
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.6.7" data-path="../Shell/识别系统.html">
            
                <a href="../Shell/识别系统.html">
            
                    
                    识别系统
            
                </a>
            

            
        </li>
    

            </ul>
            
        </li>
    
        <li class="chapter " data-level="1.7" data-path="./">
            
                <a href="./">
            
                    
                    Vim
            
                </a>
            

            
            <ul class="articles">
                
    
        <li class="chapter " data-level="1.7.1" data-path="Vim小知识.html">
            
                <a href="Vim小知识.html">
            
                    
                    Vim小知识
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.7.2" data-path="Vim编辑器再学习.html">
            
                <a href="Vim编辑器再学习.html">
            
                    
                    Vim编辑器再学习
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.7.3" data-path="VimScript学习笔记.html">
            
                <a href="VimScript学习笔记.html">
            
                    
                    VimScript 学习笔记
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.7.4" data-path="YouCompleteMe安装.html">
            
                <a href="YouCompleteMe安装.html">
            
                    
                    YouCompleteMe安装
            
                </a>
            

            
        </li>
    
        <li class="chapter active" data-level="1.7.5" data-path="vimrc示例1.html">
            
                <a href="vimrc示例1.html">
            
                    
                    vimrc示例
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.7.6" data-path="vimrc备份.html">
            
                <a href="vimrc备份.html">
            
                    
                    vimrc备份
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.7.7" data-path="Tmux快捷键.html">
            
                <a href="Tmux快捷键.html">
            
                    
                    Tmux快捷键
            
                </a>
            

            
        </li>
    

            </ul>
            
        </li>
    
        <li class="chapter " data-level="1.8" data-path="../Ansible/">
            
                <a href="../Ansible/">
            
                    
                    Ansible
            
                </a>
            

            
            <ul class="articles">
                
    
        <li class="chapter " data-level="1.8.1" data-path="../Ansible/术语表.html">
            
                <a href="../Ansible/术语表.html">
            
                    
                    术语表
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.8.2" data-path="../Ansible/Ansible必知单词.html">
            
                <a href="../Ansible/Ansible必知单词.html">
            
                    
                    Ansible 常用单词
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.8.3" data-path="../Ansible/Ansible学习.html">
            
                <a href="../Ansible/Ansible学习.html">
            
                    
                    Ansible 学习笔记
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.8.4" data-path="../Ansible/Ansible常用模板.html">
            
                <a href="../Ansible/Ansible常用模板.html">
            
                    
                    Ansible常用模板.md
            
                </a>
            

            
        </li>
    

            </ul>
            
        </li>
    
        <li class="chapter " data-level="1.9" data-path="../Docker/">
            
                <a href="../Docker/">
            
                    
                    Docker
            
                </a>
            

            
            <ul class="articles">
                
    
        <li class="chapter " data-level="1.9.1" data-path="../Docker/Docker基础学习.html">
            
                <a href="../Docker/Docker基础学习.html">
            
                    
                    Docker 基础学习笔记
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.9.2" data-path="../Docker/Docker小知识.html">
            
                <a href="../Docker/Docker小知识.html">
            
                    
                    Docker 小知识
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.9.3" data-path="../Docker/Docker必知单词.html">
            
                <a href="../Docker/Docker必知单词.html">
            
                    
                    Docker 学习中的单词
            
                </a>
            

            
        </li>
    

            </ul>
            
        </li>
    
        <li class="chapter " data-level="1.10" data-path="../Git/">
            
                <a href="../Git/">
            
                    
                    Git
            
                </a>
            

            
            <ul class="articles">
                
    
        <li class="chapter " data-level="1.10.1" data-path="../Git/git学习.html">
            
                <a href="../Git/git学习.html">
            
                    
                    Git 学习笔记
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.10.2" data-path="../Git/git小技巧.html">
            
                <a href="../Git/git小技巧.html">
            
                    
                    Git 小技巧
            
                </a>
            

            
        </li>
    

            </ul>
            
        </li>
    
        <li class="chapter " data-level="1.11" data-path="../Zabbix/">
            
                <a href="../Zabbix/">
            
                    
                    Zabbix
            
                </a>
            

            
            <ul class="articles">
                
    
        <li class="chapter " data-level="1.11.1" data-path="../Zabbix/Docker安装配置Zabbix.html">
            
                <a href="../Zabbix/Docker安装配置Zabbix.html">
            
                    
                    Docker 安装配置 Zabbix
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.11.2" data-path="../Zabbix/术语单词.html">
            
                <a href="../Zabbix/术语单词.html">
            
                    
                    Zabbix 中常用单词
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.11.3" data-path="../Zabbix/重置密码.html">
            
                <a href="../Zabbix/重置密码.html">
            
                    
                    重置 Zabbix 账户密码
            
                </a>
            

            
        </li>
    

            </ul>
            
        </li>
    
        <li class="chapter " data-level="1.12" data-path="../KVM/">
            
                <a href="../KVM/">
            
                    
                    KVM
            
                </a>
            

            
            <ul class="articles">
                
    
        <li class="chapter " data-level="1.12.1" data-path="../KVM/安装配置.html">
            
                <a href="../KVM/安装配置.html">
            
                    
                    常用命令
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.12.2" data-path="../KVM/虚拟机网络配置.html">
            
                <a href="../KVM/虚拟机网络配置.html">
            
                    
                    Bridged 桥接模式
            
                </a>
            

            
        </li>
    

            </ul>
            
        </li>
    
        <li class="chapter " data-level="1.13" data-path="../Mysql/">
            
                <a href="../Mysql/">
            
                    
                    Mysql
            
                </a>
            

            
            <ul class="articles">
                
    
        <li class="chapter " data-level="1.13.1" data-path="../Mysql/Ubuntu安装Navicat.html">
            
                <a href="../Mysql/Ubuntu安装Navicat.html">
            
                    
                    Ubuntu 安装及配置 Navicat
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.13.2" data-path="../Mysql/忘记root密码.html">
            
                <a href="../Mysql/忘记root密码.html">
            
                    
                    如何替换已忘记的 root 密码
            
                </a>
            

            
        </li>
    

            </ul>
            
        </li>
    
        <li class="chapter " data-level="1.14" data-path="../Nginx/">
            
                <a href="../Nginx/">
            
                    
                    Nginx
            
                </a>
            

            
            <ul class="articles">
                
    
        <li class="chapter " data-level="1.14.1" data-path="../Nginx/Nginx学习笔记.html">
            
                <a href="../Nginx/Nginx学习笔记.html">
            
                    
                    Nginx 学习
            
                </a>
            

            
        </li>
    

            </ul>
            
        </li>
    
        <li class="chapter " data-level="1.15" data-path="../NoClass/">
            
                <a href="../NoClass/">
            
                    
                    闲知
            
                </a>
            

            
            <ul class="articles">
                
    
        <li class="chapter " data-level="1.15.1" data-path="../NoClass/容易读错的IT术语.html">
            
                <a href="../NoClass/容易读错的IT术语.html">
            
                    
                    容易读错的IT术语
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.15.2" data-path="../NoClass/Linux-electron-tutorial.html">
            
                <a href="../NoClass/Linux-electron-tutorial.html">
            
                    
                    Linux electron 学习记录
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.15.3" data-path="../NoClass/MarkdownSkills.html">
            
                <a href="../NoClass/MarkdownSkills.html">
            
                    
                    记录 Markdown 的各种小技巧
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.15.4" data-path="../NoClass/RaspeberryPi.html">
            
                <a href="../NoClass/RaspeberryPi.html">
            
                    
                    使用树莓派 3B 遇到的问题
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.15.5" data-path="../NoClass/华为国产手机芯片SoC.html">
            
                <a href="../NoClass/华为国产手机芯片SoC.html">
            
                    
                    华为国产手机芯片SoC
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.15.6" data-path="../NoClass/图片格式详解及其对比.html">
            
                <a href="../NoClass/图片格式详解及其对比.html">
            
                    
                    图片格式详解及其对比
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.15.7" data-path="../NoClass/计算机小知识.html">
            
                <a href="../NoClass/计算机小知识.html">
            
                    
                    记录一些计算机的小知识
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.15.8" data-path="../NoClass/诗词.html">
            
                <a href="../NoClass/诗词.html">
            
                    
                    诗词
            
                </a>
            

            
        </li>
    

            </ul>
            
        </li>
    
        <li class="chapter " data-level="1.16" data-path="../OS/">
            
                <a href="../OS/">
            
                    
                    OS
            
                </a>
            

            
            <ul class="articles">
                
    
        <li class="chapter " data-level="1.16.1" data-path="../OS/学习笔记.html">
            
                <a href="../OS/学习笔记.html">
            
                    
                    操作系统学习笔记
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.16.2" data-path="../OS/术语单词.html">
            
                <a href="../OS/术语单词.html">
            
                    
                    OS 专业词语解析
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.16.3" data-path="../OS/SoCCPU.html">
            
                <a href="../OS/SoCCPU.html">
            
                    
                    SoC 与 CPU
            
                </a>
            

            
        </li>
    

            </ul>
            
        </li>
    
        <li class="chapter " data-level="1.17" data-path="../Tomcat/">
            
                <a href="../Tomcat/">
            
                    
                    Tomcat
            
                </a>
            

            
            <ul class="articles">
                
    
        <li class="chapter " data-level="1.17.1" data-path="../Tomcat/Tomcat 学习.html">
            
                <a href="../Tomcat/Tomcat 学习.html">
            
                    
                    Tomcat 学习
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.17.2" data-path="../Tomcat/Tomcat学习.html">
            
                <a href="../Tomcat/Tomcat学习.html">
            
                    
                    Tomcat 学习
            
                </a>
            

            
        </li>
    

            </ul>
            
        </li>
    
        <li class="chapter " data-level="1.18" data-path="../VPS/">
            
                <a href="../VPS/">
            
                    
                    VPS
            
                </a>
            

            
            <ul class="articles">
                
    
        <li class="chapter " data-level="1.18.1" data-path="../VPS/AWS_lightsail.html">
            
                <a href="../VPS/AWS_lightsail.html">
            
                    
                    AWS LightSail
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.18.2" data-path="../VPS/GCP_VM实例创建和基本配置.html">
            
                <a href="../VPS/GCP_VM实例创建和基本配置.html">
            
                    
                    GCP VM
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.18.3" data-path="../VPS/ECS和VPS等等.html">
            
                <a href="../VPS/ECS和VPS等等.html">
            
                    
                    ECS和VPS
            
                </a>
            

            
        </li>
    

            </ul>
            
        </li>
    
        <li class="chapter " data-level="1.19" data-path="../ComputerComposition/">
            
                <a href="../ComputerComposition/">
            
                    
                    ComputerComposition
            
                </a>
            

            
            <ul class="articles">
                
    
        <li class="chapter " data-level="1.19.1" data-path="../ComputerComposition/学习笔记.html">
            
                <a href="../ComputerComposition/学习笔记.html">
            
                    
                    计算机组成原理学习笔记
            
                </a>
            

            
        </li>
    

            </ul>
            
        </li>
    
        <li class="chapter " data-level="1.20" data-path="../ComputerNetwork/">
            
                <a href="../ComputerNetwork/">
            
                    
                    ComputerNetwork
            
                </a>
            

            
            <ul class="articles">
                
    
        <li class="chapter " data-level="1.20.1" data-path="../ComputerNetwork/ProWords.html">
            
                <a href="../ComputerNetwork/ProWords.html">
            
                    
                    术语单词
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.20.2" data-path="../ComputerNetwork/学习笔记.html">
            
                <a href="../ComputerNetwork/学习笔记.html">
            
                    
                    计算机网络学习笔记
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.20.3" data-path="../ComputerNetwork/小知识.html">
            
                <a href="../ComputerNetwork/小知识.html">
            
                    
                    学习计算机网络中的小知识
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.20.4" data-path="../NoClass/浏览器架构简析.md">
            
                <span>
            
                    
                    浏览器架构简析
            
                </a>
            

            
        </li>
    

            </ul>
            
        </li>
    
        <li class="chapter " data-level="1.21" data-path="../毕业论文/">
            
                <a href="../毕业论文/">
            
                    
                    毕业论文
            
                </a>
            

            
            <ul class="articles">
                
    
        <li class="chapter " data-level="1.21.1" data-path="../毕业论文/开题报告.html">
            
                <a href="../毕业论文/开题报告.html">
            
                    
                    开题报告
            
                </a>
            

            
        </li>
    

            </ul>
            
        </li>
    

    

    <li class="divider"></li>

    <li>
        <a href="https://www.gitbook.com" target="blank" class="gitbook-link">
            本书使用 GitBook 发布
        </a>
    </li>
</ul>


                </nav>
            
        
    </div>

    <div class="book-body">
        
            <div class="body-inner">
                
                    

<div class="book-header" role="navigation">
    

    <!-- Title -->
    <h1>
        <i class="fa fa-circle-o-notch fa-spin"></i>
        <a href=".." >vimrc示例</a>
    </h1>
</div>




                    <div class="page-wrapper" tabindex="-1" role="main">
                        <div class="page-inner">
                            
<div id="book-search-results">
    <div class="search-noresults">
    
                                <section class="normal markdown-section">
                                
                                <p>set nocompatible              &quot; be iMproved, required  &#x4E0D;&#x7528;vi&#x7684;&#x6A21;&#x5F0F;
filetype off                  &quot; required</p>
<p>&quot; set the runtime path to include Vundle and initialize  &#x8FD9;&#x662F;vundle&#x7684;&#x8DEF;&#x5F84;
set rtp+=~/.vim/bundle/Vundle.vim
call vundle#begin()    &quot; vundle&#x51FD;&#x6570;&#x5F00;&#x59CB;
&quot; alternatively, pass a path where Vundle should install plugins
&quot;call vundle#begin(&apos;~/some/path/here&apos;)</p>
<p>&quot; &#x79D1;&#x666E;&#xFF1A;
&quot; &#x63D2;&#x4EF6;&#x7684;&#x6765;&#x6E90;&#x6709;3&#x4E2A;&#xFF1A;github&#x4ED3;&#x5E93;&#xFF0C;vundle&#x81EA;&#x5E26;&#xFF0C;vim-scripts. 
&quot; (&#x6CE8;&#xFF1A;&#x5982;&#x679C;&#x63D2;&#x4EF6;&#x5728;&#x672C;&#x5730;&#x4ED3;&#x5E93;&#xFF0C;&#x5EFA;&#x8BAE;&#x63A8;&#x5230;github)
&quot; 1. &#x5BF9;&#x4E8E;github&#x4ED3;&#x5E93;&#xFF1A; &#x4EFF;&#x7167;&#x4E0B;&#x9762;&#x7684;&#x5199;&#x6CD5;&#xFF0C;&#x884C;&#x5F00;&#x5934;&#x90FD;&#x662F;Plugin&#x7684;&#xFF0C;&#x8981;&#x5199;&#x4F5C;&#x8005;&#x548C;&#x63D2;&#x4EF6;&#x540D;
&quot; 2. &#x5BF9;&#x4E8E;vundle&#x81EA;&#x5E26;&#xFF1A; &#x4EFF;&#x7167;&#x4E0B;&#x9762;&#x7684;&#x5199;&#x6CD5;&#xFF0C;&#x884C;&#x5F00;&#x5934;&#x90FD;&#x662F;Bundle&#x7684;&#xFF0C;&#x76F4;&#x63A5;&#x5199;&#x63D2;&#x4EF6;&#x540D;
&quot; 3. &#x5BF9;&#x4E8E;vim-scripts&#xFF1A;&#x4EFF;&#x7167;&#x4E0B;&#x9762;&#x7684;&#x4E0B;&#x53D1;&#xFF0C;&#x884C;&#x5F00;&#x5934;&#x662F;Plugin&#xFF0C;&#x76F4;&#x63A5;&#x5199;&#x63D2;&#x4EF6;&#x540D;</p>
<p>&quot; &#x8FD9;&#x662F;&#x6765;&#x6E90;&#x4E8E;github&#x4ED3;&#x5E93;&#x7684;&#x63D2;&#x4EF6;&#x7684;&#x5199;&#x6CD5;
&quot; ==&gt;&gt; &#x7BA1;&#x7406;&#x81EA;&#x5DF1;(&#x5FC5;&#x987B;)
Plugin &apos;VundleVim/Vundle.vim&apos;</p>
<p>&quot; &#x8FD9;&#x662F;&#x6765;&#x6E90;&#x4E8E;<a href="http://vim-scripts.org/vim/scripts.html&#x7684;&#x63D2;&#x4EF6;&#x7684;&#x5199;&#x6CD5;" target="_blank">http://vim-scripts.org/vim/scripts.html&#x7684;&#x63D2;&#x4EF6;&#x7684;&#x5199;&#x6CD5;</a>
&quot; ==&gt;&gt; &#x4E0D;&#x77E5;&#x9053;&#x8FD9;&#x63D2;&#x4EF6;&#x5E72;&#x5565;&#x7684;
&quot; Plugin &apos;L9&apos;</p>
<p>&quot; &#x8FD9;&#x662F;vundle&#x81EA;&#x5E26;&#x7684;&#x63D2;&#x4EF6;&#x7684;&#x5199;&#x6CD5;&#xFF0C;&#x62E9;&#x9700;&#x4E0B;&#x8F7D;&#x5373;&#x53EF;
&quot; Bundle &apos;EasyMotion&apos;</p>
<p>&quot; ===============================================================================</p>
<p>&quot; =&gt;&gt; &#x8F85;&#x52A9;&#x4F7F;&#x7528;git&#xFF0C;&#x4E00;&#x822C;&#x53EF;&#x80FD;&#x4E0D;&#x9700;&#x8981;
&quot; Plugin &apos;tpope/vim-fugitive&apos;</p>
<p>&quot; ==&gt;&gt; &#x4EE3;&#x7801;&#x81EA;&#x52A8;&#x8865;&#x5168;&#x7684;&#x63D2;&#x4EF6;&#xFF0C;&#x9700;&#x8981;&#x5148;install&#x4E00;&#x4E9B;&#x4E1C;&#x897F;&#x6765;&#x652F;&#x6301;&#x3002;&#x4E0D;&#x60F3;&#x7528;.
&quot; Plugin &apos;Valloric/YouCompleteMe&apos;
&quot; &#x8BB0;&#x5F97;&#x5B89;&#x88C5;&#x597D;&#x4E4B;&#x540E;&#x5C31;&#x53BB;~/.vim/bundle/YouCompleteMe/&#xFF0C;&#x63A5;&#x4E0B;&#x6765;&#x4ECD;&#x9700;&#x8981;&#x505A;&#x7684;&#x662F;&#xFF1A;
&quot; sudo apt-get install build-essential cmake    c&#x7684;make&#x5DE5;&#x5177;
&quot; sudo apt-get install python-dev    &#x786E;&#x5B9A;&#x4F60;&#x6709;python&#xFF0C;&#x56E0;&#x4E3A;&#x5B89;&#x88C5;&#x914D;&#x7F6E;&#x7684;&#x9700;&#x8981;
&quot; ./install.py --clang-completer   &#x8FD9;&#x6837;&#x53EF;&#x4EE5;&#x652F;&#x6301;c&#x7684;&#x5404;&#x79CD;&#x5BB6;&#x65CF;
&quot; &#x82E5;&#x60F3;&#x652F;&#x6301;&#x66F4;&#x591A;&#xFF0C;&#x90A3;&#x5C31;&#x6362;&#x6210;&#x5C06;&#x4E0B;&#x884C;&#x4EE3;&#x7801;&#x8FD0;&#x884C;&#xFF0C;&#x81F3;&#x5C11;&#x652F;&#x6301;c# Go JS typeScript
&quot; ./install.py --clang-completer --omnisharp-completer --gocode-completer --tern-completer</p>
<p>&quot; ==&gt;&gt; &#x5B57;&#x4F53;&#x5305;&#xFF0C;&#x652F;&#x6301;airline&#x7528;&#x7684;
Plugin &apos;powerline/fonts&apos;
&quot; &#x5230;~/.vim/bundle/fonts&#x4E2D;&#x8FD0;&#x884C;install.sh&#xFF0C;&#x53EF;&#x80FD;&#x9700;&#x8981;&#x6539;&#x5176;&#x4E2D;&#x7684;&#x8DEF;&#x5F84;&#x5230;~/.fonts&#x4E2D;
&quot; &#x7136;&#x540E;&#x5C06;&#x7EC8;&#x7AEF;&#x4E2D;&#x7684;&#x5B57;&#x4F53;&#x8BBE;&#x7F6E;&#x4E3A;&#x5E26;powline&#x7684;&#xFF0C;&#x4E0D;&#x80FD;&#x4F7F;&#x7528;&#x81EA;&#x7CFB;&#x7EDF;&#x7B49;&#x5BBD;&#xFF0C;&#x5426;&#x5219;&#x65E0;&#x6548;&#x3002;
&quot; &#x63A8;&#x8350;&#xFF1A;ubuntu mono derivative powline 13</p>
<p>&quot; ==&gt;&gt; &#x4E3B;&#x9898;&#x5305;&#xFF0C;&#x652F;&#x6301;airline&#x7528;&#x7684;
&quot; &#x5728;&#x4E0B;&#x9762;&#x7684; let g:airline_theme=&quot;bubblegum&quot;&#x5C31;&#x53EF;&#x4F7F;&#x7528;&#x4E3B;&#x9898;
Plugin &apos;vim-airline/vim-airline-themes&apos;</p>
<p>&quot; ==&gt;&gt; &#x72B6;&#x6001;&#x680F;&#xFF0C;&#x5B57;&#x4F53;&#x4E0D;&#x597D;&#x5C31;&#x96BE;&#x770B;&#x70B9;&#x3002;
Plugin &apos;bling/vim-airline&apos; 
    let g:airline_theme=&quot;bubblegum&quot;  &quot;&#x76EE;&#x524D;&#x7528;&#x7684;&#x4E3B;&#x9898;
    let g:airline_powerline_fonts = 1   &quot;&#x8FD9;&#x4E2A;&#x662F;&#x5B89;&#x88C5;&#x5B57;&#x4F53;&#x540E; &#x5FC5;&#x987B;&#x8BBE;&#x7F6E;&#x6B64;&#x9879; 
    let g:Powerline_symbols=&quot;fancy&quot;
    if !exists(&apos;g:airline_symbols&apos;)<br>        let g:airline_symbols = {}
    endif
    &quot; &#x542F;&#x7528;&#xFF1A;&#x53EF;&#x4EE5;&#x5207;&#x6362;&#x5230;&#x5176;&#x4ED6;buffer&#x6587;&#x4EF6;
    let g:airline#extensions#tabline#enabled = 1
    &quot; &#x663E;&#x793A;&#x6700;&#x9876;&#x4E0A;&#x7684;buffer&#x680F;
    let g:airline#extensions#tabline#buffer_nr_show = 1
    &quot; &#x4E0B;&#x9762;2&#x4E2A;&#x662F;&#x8BBE;&#x7F6E;&#x5207;&#x6362;Buffer&#x5FEB;&#x6377;&#x952E;&#xFF0C;&#x5F88;&#x591A;&#x4F1A;&#x51B2;&#x7A81;&#xFF0C;&#x770B;&#x7740;&#x8BBE;&#x7F6E;&#x5373;&#x53EF;
    nnoremap <c-,> :bn<cr>
    nnoremap .. :bp<cr>
    &quot; &#x5173;&#x95ED;&#x72B6;&#x6001;&#x663E;&#x793A;&#x7A7A;&#x767D;&#x7B26;&#x53F7;&#x8BA1;&#x6570;,&#x7528;&#x5904;&#x4E0D;&#x5927;&quot;
    let g:airline#extensions#whitespace#enabled = 0
    let g:airline#extensions#whitespace#symbol = &apos;!&apos;
    set laststatus=2
    set t_Co=256
    &quot; let Powerline_symbols=&apos;compatible&apos;</cr></cr></c-,></p>
<p>&quot; ==&gt;&gt; &#x4EE3;&#x7801;&#x5BF9;&#x9F50;&#x7684;&#x63D2;&#x4EF6;
&quot; &#x5E38;&#x7528;&#x65B9;&#x6CD5;1) 
Plugin &apos;godlygeek/tabular&apos;</p>
<p>&quot; ==&gt;&gt; &#x663E;&#x793A;&#x5217;&#x5BF9;&#x9F50;&#x7EBF;&#x63D2;&#x4EF6;
Plugin &apos;Yggdroot/indentLine&apos;
    let g:indentLine_char = &apos;&#x2506;&apos;
    let g:indentLine_enabled = 1
    let g:indentLine_color_term = 239</p>
<p>&quot; ==&gt;&gt; &#x53F3;&#x8FB9;&#x680F;&#xFF1A;&#x53D8;&#x91CF;&#x53CA;&#x51FD;&#x6570;&#x5217;&#x8868;&#xFF0C;&#x6309;F9&#x5373;&#x53EF;&#x5F39;&#x51FA;/&#x5173;&#x95ED;
Bundle &apos;Tagbar&apos;
    map <f9> :TagbarToggle<cr>
    let g:tagbar_width=30
    let g:tagbar_autofocus=1</cr></f9></p>
<p>&quot; ==&gt;&gt;&#x5DE6;&#x8FB9;&#x680F;&#xFF1A;&#x76EE;&#x5F55;&#x6811;&#xFF0C;&#x6309;F8&#x5373;&#x53EF;&#x5F39;&#x51FA;/&#x5173;&#x95ED;
Bundle &apos;The-NERD-tree&apos;
    map <f8> :NERDTreeToggle<cr>
    &quot; &#x8BBE;&#x7F6E;&#x4E3A;&#x81EA;&#x52A8;&#x542F;&#x52A8;&#xFF0C;&#x6253;&#x5F00;vim&#x65F6;&#x9ED8;&#x8BA4;&#x662F;&#x6253;&#x5F00;&#x6B64;&#x680F;&#x7684;
    autocmd VimEnter <em> NERDTree<br>    autocmd StdinReadPre </em> let s:std_in=1
    autocmd VimEnter <em> if argc() == 0 &amp;&amp; !exists(&quot;s:std_in&quot;) | NERDTree | endif
    autocmd bufenter </em> if ( winnr(&quot;$&quot;) == 1 &amp;&amp; exists(&quot;b:NERDTreeType&quot;) &amp;&amp; b:NERDTreeType == &quot;primary&quot; ) | q | endif</cr></f8></p>
<p>&quot; ==&gt;&gt; &#x5E95;&#x680F;&#xFF1A;&#x6587;&#x4EF6;&#x540D;&#x641C;&#x7D22;&#xFF0C;&#x4E0D;&#x7528;&#x5173;&#x95ED;vim&#x5373;&#x53EF;&#x641C;&#x7D22;&#x6587;&#x4EF6;&#x5E76;&#x53EF;&#x4EE5;&#x8DF3;&#x8F6C;
Bundle &apos;ctrlp.vim&apos;
    &quot; &#x81EA;&#x52A8;&#x5FFD;&#x7565;&#x4E00;&#x4E9B;&#x540E;&#x7F00;
    set wildignore+=<em>/tmp/</em>,<em>.so,</em>.swp,<em>.zip,</em>.png,<em>.jpg,</em>.jpeg,<em>.gif,</em>~ &quot; MacOSX/Linux
    let g:ctrlp_map = &apos;,,&apos;    &quot; &#x6CE8;&#x610F;&#xFF1A;&#x5FEB;&#x6377;&#x952E;&#x4E3A;&#x8FDE;&#x7EED;&#x6309;&#x4E24;&#x6B21;&#x9017;&#x53F7;&#xFF0C;&#x800C;&#x4E0D;&#x662F;ctrl+p
    let g:ctrlp_open_multiple_files = &apos;v&apos;
    let g:ctrlp_cmd = &apos;CtrlP&apos;   &quot; &#x53E6;&#x4E00;&#x79CD;&#x6253;&#x5F00;&#x65B9;&#x5F0F;&#x662F;&#x5192;&#x53F7;&#x518D;&#x8F93;&#x5165;CtrlP&#x6253;&#x5F00;
    let g:ctrlp_working_path_mode = &apos;0&apos;       &quot;disable work path mode
    &quot; &#x7528;&#x6B63;&#x5219;&#x8868;&#x8FBE;&#x5F0F;&#x5FFD;&#x7565;&#x4E00;&#x4E9B;&#x540E;&#x7F00;
    let g:ctrlp_custom_ignore = {
      \ &apos;dir&apos;:  &apos;\v[\/].(git|hg|svn)$&apos;,
      \ &apos;file&apos;: &apos;\v.(log|jpg|png|jpeg)$&apos;,
      \ }</p>
<p>&quot; ==&gt;&gt; &#x7528;&#x4E8E;&#x6279;&#x91CF;&#x6CE8;&#x91CA;&#xFF0C;&#x7528;&#x6CD5;&#x8BF7;&#x81EA;&#x884C;google
Bundle &apos;The-NERD-Commenter&apos;
    &quot; &#x6CE8;&#x91CA;&#x65F6;&#x81EA;&#x52A8;&#x52A0;&#x4E00;&#x4E2A;&#x7A7A;&#x683C;
    let g:NERDSpaceDelims=1</p>
<p>&quot; ==&gt;&gt; &#x652F;&#x6301;&#x66F4;&#x7CBE;&#x786E;&#x5730;&#x8DF3;&#x8F6C;&#x5149;&#x6807;
Bundle &apos;EasyMotion&apos;
    &quot; &#x4E00;&#x822C;&#x65E0;&#x9700;&#x8BBE;&#x7F6E;
    &quot; &#x6309;&#x8BCD;&#x5F80;&#x4E0A;&#x6216;&#x4E0B;:     \b \w 
    &quot; &#x6309;&#x884C;&#x5F80;&#x4E0A;&#x6216;&#x4E0B;:     \j \k</p>
<p>&quot; ==&gt;&gt; &#x5B57;&#x7B26;&#x4E32;&#x67E5;&#x627E;(&#x5728;&#x67E5;&#x627E;&#x4E4B;&#x524D;&#x5148;&#x5728;&#x7EC8;&#x7AEF;&#x4E2D;&#x52A0;&#x5165;&#x5982;&#x4E0B;&#x547D;&#x4EE4;&#xFF0C;&#x76F4;&#x63A5;&#x7528;cr&#x5373;&#x53EF;&#x521B;&#x5EFA;&#x6570;&#x636E;&#x5E93;&#x6587;&#x4EF6;)
&quot; ==&gt;&gt; cscope&#x5F88;&#x50CF;ctags&#x7684;&#x53CD;&#x5411;&#x64CD;&#x4F5C;&#xFF0C;&#x80FD;&#x627E;&#x5230;&#x54EA;&#x91CC;&#x8C03;&#x7528;&#x4E86;&#x8FD9;&#x4E2A;&#x51FD;&#x6570;&#x3002;
&quot; &#x5982;&#x4E0B;&#x547D;&#x4EE4;&#x7528;&#x4E8E;&#x751F;&#x6210;ctags&#x6587;&#x4EF6;&#x548C;cscope&#x6587;&#x4EF6;
&quot; &#x7EC8;&#x7AEF;&#x547D;&#x4EE4;$ctags -R --fields=+IS &amp;&amp; cscope -Rbkq
&quot; &#x5982;&#x4E0B;&#x662F;cscope&#x7684;&#x5FEB;&#x6377;&#x952E;&#x914D;&#x7F6E;
Bundle &apos;cscope.vim&apos;
    nnoremap <leader>fa :call cscope#findInteractive(expand(&apos;<cword>&apos;))<cr>
    nnoremap <leader>l  :call ToggleLocationList()<cr>
    &quot; s: Find this C symbol
    nnoremap  <leader>fs :call cscope#find(&apos;s&apos;, expand(&apos;<cword>&apos;))<cr>
    &quot; g: Find this definition
    nnoremap  <leader>fg :call cscope#find(&apos;g&apos;, expand(&apos;<cword>&apos;))<cr>
    &quot; d: Find functions called by this function
    nnoremap  <leader>fd :call cscope#find(&apos;d&apos;, expand(&apos;<cword>&apos;))<cr>
    &quot; c: Find functions calling this function
    nnoremap  <leader>fc :call cscope#find(&apos;c&apos;, expand(&apos;<cword>&apos;))<cr>
    &quot; t: Find this text string
    nnoremap  <leader>ft :call cscope#find(&apos;t&apos;, expand(&apos;<cword>&apos;))<cr>
    &quot; e: Find this egrep pattern
    nnoremap  <leader>fe :call cscope#find(&apos;e&apos;, expand(&apos;<cword>&apos;))<cr>
    &quot; f: Find this file
    nnoremap  <leader>ff :call cscope#find(&apos;f&apos;, expand(&apos;<cword>&apos;))<cr>
    &quot; i: Find files #including this file
    nnoremap  <leader>fi :call cscope#find(&apos;i&apos;, expand(&apos;<cword>&apos;))<cr>
    let g:cscope_ignore_files = &apos;.Z$|.zip$|.zipx$|.lib&apos;    &quot; &#x5FFD;&#x89C6;&#x4E00;&#x4E9B;&#x540E;&#x7F00;
    let g:cscope_silent = 1</cr></cword></leader></cr></cword></leader></cr></cword></leader></cr></cword></leader></cr></cword></leader></cr></cword></leader></cr></cword></leader></cr></cword></leader></cr></leader></cr></cword></leader></p>
<p>&quot; ==&gt;&gt; &#x8F85;&#x52A9;cscope&#x7684;&#xFF0C;&#x80FD;&#x81EA;&#x52A8;&#x52A0;&#x8F7D;cscope.out&#x6587;&#x4EF6;&#xFF0C;&#x82E5;&#x6CA1;&#x627E;&#x5230;&#xFF0C;&#x8FD8;&#x80FD;&#x81EA;&#x52A8;&#x5F80;&#x4E0A;&#x5C42;&#x76EE;&#x5F55;
Bundle &apos;autoload_cscope.vim&apos;
let g:autocscope_menus=0    &quot;&#x5173;&#x6389;&#x9ED8;&#x8BA4;&#x7684;&#x5FEB;&#x6377;&#x952E;(&#x4E0A;&#x9762;&#x5DF2;&#x7ECF;&#x5B9A;&#x4E49;&#x4E86;)</p>
<p>&quot; ==&gt;&gt;&#x4E3B;&#x9898;&#x63D2;&#x4EF6;<br>Bundle &apos;molokai&apos;
Bundle &apos;Solarized&apos;</p>
<p>&quot; All of your Plugins must be added before the following line
call vundle#end()            &quot; required  &#x51FD;&#x6570;&#x7ED3;&#x675F;
filetype plugin indent on    &quot; required </p>
<p>&quot; ==========================&#x4EE5;&#x4E0B;&#x662F;&#x4E00;&#x4E9B;&#x4E2A;&#x4EBA;&#x7684;&#x559C;&#x597D;&#x914D;&#x7F6E;&#x4E86;=================================</p>
<p>&quot; <leader>&#x952E;&#x6620;&#x5C04;
:let mapleader = &quot;\&quot;</leader></p>
<p>&quot; &#x5FEB;&#x6377;&#x952E;&#x6620;&#x5C04;&#xFF1A;ctrl+\    &#x5728;&#x63D2;&#x5165;&#x6A21;&#x5F0F;&#x76F4;&#x63A5;&#x4FDD;&#x5B58;&#x5E76;&#x9000;&#x51FA;
:map! <c-\> <esc>:q<cr></cr></esc></c-\></p>
<p>&quot; &#x5FEB;&#x6377;&#x952E;&#x6620;&#x5C04;&#xFF1A;<f3> &#x6253;&#x5F00;/&#x5173;&#x95ED;&#x4EE3;&#x7801;&#x5757;&#x6298;&#x53E0;&#xFF0C;&#x6BD4;&#x5982;&#x51FD;&#x6570;&#x4EC0;&#x4E48;&#x7684;&#x6298;&#x53E0;&#x8D77;&#x6765;&#x6BD4;&#x8F83;&#x5BB9;&#x6613;&#x770B;
map <f3> za</f3></f3></p>
<p>&quot; &#x5FEB;&#x6377;&#x952E;&#x6620;&#x5C04;&#xFF1A;<f4> &#x6253;&#x5F00;/&#x5173;&#x95ED;&#x6298;&#x53E0;&#xFF08;&#x9012;&#x5F52;&#x5F0F;&#xFF09;&#x3002;&#x6BD4;&#x8F83;&#x5C11;&#x7528;&#xFF0C;&#x4E0D;&#x7528;&#x4E86;&#x3002;
&quot; map <f4> zA</f4></f4></p>
<p>&quot; &#x53EF;&#x89C6;&#x6A21;&#x5F0F;&#x4E0B;&#xFF0C;ctrl+c&#x4E3A;&#x590D;&#x5236;&#x5230;&#x7CFB;&#x7EDF;&#x7684;&#x526A;&#x8D34;&#x677F;&#x3002;&#x6CE8;&#x610F;&#x9700;&#x8981;&#x5148;apt-get&#x5B89;&#x88C5;vim-nox&#x548C;vim-gnome&#x3002;
&quot; vmap <c-c> &quot;+y
&quot;
&quot; &#x4EFB;&#x4F55;&#x6A21;&#x5F0F;&#x4E0B;&#xFF0C;ctrl+v&#x4E3A;&#x7C98;&#x8D34;&#x3002;&#x4E24;&#x4E2A;&#x5B89;&#x88C5;&#x9879;&#x540C;&#x4E0A;&#x3002;
&quot; map <c-v> &quot;+p</c-v></c-c></p>
<p>&quot; &#x5728;&#x7528;&#x7684;&#x4E3B;&#x9898;
colorscheme molokai
&quot; &#x591C;&#x95F4;&#x4E3B;&#x9898;&#xFF0C;&#x989C;&#x8272;&#x4E0D;&#x9519;&#x3002;
&quot; colo evening</p>
<p>&quot; &#x8BED;&#x6CD5;&#x9AD8;&#x4EAE;
syntax enable</p>
<p>&quot; &#x7A81;&#x51FA;&#x5F53;&#x524D;&#x884C;
set cursorline</p>
<p>&quot; &#x7A81;&#x51FA;&#x5F53;&#x524D;&#x5217;
&quot;set cursorcolumn</p>
<p>&quot; &#x663E;&#x793A;&#x884C;&#x53F7;
set nu</p>
<p>&quot; tab&#x7F29;&#x8FDB;&#x4E3A;4&#x4E2A;&#x7A7A;&#x683C;&#x5927;&#x5C0F;
set tabstop=4</p>
<p>&quot; &#x53F3;&#x4E0B;&#x89D2;&#x663E;&#x793A;&#x5F53;&#x524D;&#x5217;&#x53F7;
set ruler</p>
<p>&quot; &#x81EA;&#x52A8;&#x7F29;&#x8FDB;&#x7684;&#x5927;&#x5C0F;&#x4E3A;4&#x7A7A;&#x683C;
set shiftwidth=4</p>
<p>&quot; set smarttab
&quot; &#x7A7A;&#x683C;&#x4EE3;&#x66FF;tab
set expandtab</p>
<p>&quot; &#x5F00;&#x542F;&#x7F29;&#x8FDB;
set cindent</p>
<p>&quot; &#x5173;&#x95ED;&#x5907;&#x4EFD;&#x529F;&#x80FD;
set nobackup</p>
<p>set noswapfile</p>
<p>&quot; &#x4EFB;&#x4F55;&#x6A21;&#x5F0F;&#x4E0B;&#xFF0C;&#x9F20;&#x6807;&#x6C38;&#x8FDC;&#x542F;&#x52A8;&#xFF0C;&#x4F46;&#x662F;&#x590D;&#x5236;&#x5230;&#x7C98;&#x8D34;&#x677F;&#x7684;&#x529F;&#x80FD;&#x5C31;&#x7981;&#x7528;&#x4E86;
set mouse=a</p>
<p>&quot; &#x65B0;&#x6587;&#x4EF6;&#x7F16;&#x7801;&#x9ED8;&#x8BA4;&#x7F16;&#x7801;:utf-8
set fileencoding=utf-8</p>
<p>&quot; &#x6253;&#x5F00;&#x6298;&#x53E0;&#x529F;&#x80FD;
set foldmethod=syntax</p>
<p>&quot; &#x9ED8;&#x8BA4;&#x60C5;&#x51B5;&#x4E0B;&#x4E0D;&#x6298;&#x53E0;
set foldlevel=99</p>
<p>&quot; &#x5728;&#x72B6;&#x6001;&#x680F;&#x663E;&#x793A;&#x6B63;&#x5728;&#x8F93;&#x5165;&#x7684;&#x547D;&#x4EE4;
set showcmd</p>
<p>&quot; &#x81EA;&#x52A8;&#x5F80;&#x4E0A;&#x5C42;&#x76EE;&#x5F55;&#x67E5;&#x627E;tags&#x6587;&#x4EF6;(&#x627E;&#x5B9A;&#x4E49;ctrl+] &#x56DE;&#x8DF3;ctrl+t)
set tags=tags;</p>
<p>&quot; &#x7528;vim&#x76F4;&#x63A5;&#x6253;&#x5F00;&#x4E00;&#x4E2A;&#x6587;&#x4EF6;&#x65F6;&#x4F1A;&#x81EA;&#x52A8;&#x5207;&#x5230;&#x8BE5;&#x6587;&#x4EF6;&#x76EE;&#x5F55;&#x4E0B;&#xFF0C;&#x4E0D;&#x592A;&#x559C;&#x6B22;
&quot; set autochdir</p>
<p>&quot; &#x641C;&#x7D22;&#x9AD8;&#x4EAE;
set hlsearch </p>
<footer class="page-footer-ex"> <span class="page-footer-ex-copyright"> <a href="https://github.com/Xiechengqi" target="_blank">Xiechengqi</a> </span> &#xA0;&#xA0;&#xA0;&#xA0;&#xA0;&#xA0;&#xA0;&#xA0;&#xA0;&#xA0; <span class="page-footer-ex-footer-update"> <strong>&#x6700;&#x65B0;&#x4FEE;&#x8BA2;&#x65F6;&#x95F4;&#xFF1A;</strong> 2020-01-04 15:51:08 </span> </footer>
<script>console.log("plugin-popup....");document.onclick = function(e){ e.target.tagName === "IMG" && window.open(e.target.src,e.target.src)}</script><style>img{cursor:pointer}</style>
                                
                                </section>
                            
    </div>
    <div class="search-results">
        <div class="has-results">
            
            <h1 class="search-results-title"><span class='search-results-count'></span> results matching "<span class='search-query'></span>"</h1>
            <ul class="search-results-list"></ul>
            
        </div>
        <div class="no-results">
            
            <h1 class="search-results-title">No results matching "<span class='search-query'></span>"</h1>
            
        </div>
    </div>
</div>

                        </div>
                    </div>
                
            </div>

            
                
                <a href="YouCompleteMe安装.html" class="navigation navigation-prev " aria-label="Previous page: YouCompleteMe安装">
                    <i class="fa fa-angle-left"></i>
                </a>
                
                
                <a href="vimrc备份.html" class="navigation navigation-next " aria-label="Next page: vimrc备份">
                    <i class="fa fa-angle-right"></i>
                </a>
                
            
        
    </div>

    <script>
        var gitbook = gitbook || [];
        gitbook.push(function() {
            gitbook.page.hasChanged({"page":{"title":"vimrc示例","level":"1.7.5","depth":2,"next":{"title":"vimrc备份","level":"1.7.6","depth":2,"path":"Vim/vimrc备份.md","ref":"Vim/vimrc备份.md","articles":[]},"previous":{"title":"YouCompleteMe安装","level":"1.7.4","depth":2,"path":"Vim/YouCompleteMe安装.md","ref":"Vim/YouCompleteMe安装.md","articles":[]},"dir":"ltr"},"config":{"plugins":["-lunr","-search","-livereload","-sharing","expandable-chapters","popup","pageview-count","code","back-to-top-button","hide-element","github-buttons","github","splitter","search-pro","anchors","page-footer-ex","advanced-emoji","sharing-plus"],"styles":{"website":"styles/website.css","pdf":"styles/pdf.css","epub":"styles/epub.css","mobi":"styles/mobi.css","ebook":"styles/ebook.css","print":"styles/print.css"},"pluginsConfig":{"github":{"url":"https://github.com/Xiechengqi/LearningNotes"},"page-footer-ex":{"copyright":"[Xiechengqi](https://github.com/Xiechengqi)","markdown":true,"update_format":"YYYY-MM-DD HH:mm:ss","update_label":"<strong>最新修订时间：</strong>"},"splitter":{},"search-pro":{},"sharing-plus":{"qq":false,"all":["facebook","google","twitter","instapaper","linkedin","pocket","stumbleupon"],"douban":false,"facebook":true,"weibo":false,"instapaper":false,"whatsapp":false,"hatenaBookmark":false,"twitter":true,"messenger":false,"line":false,"vk":false,"pocket":true,"google":false,"viber":false,"stumbleupon":false,"qzone":false,"linkedin":false},"popup":{},"code":{"copyButtons":true},"hide-element":{"elements":[".gitbook-link"]},"fontsettings":{"theme":"white","family":"sans","size":2},"highlight":{},"back-to-top-button":{},"pageview-count":{},"github-buttons":{"buttons":[{"user":"Xiechengqi","repo":"LearningNotes","type":"star","size":"small","count":true}]},"advanced-emoji":{"embedEmojis":false},"sharing":{"qq":false,"douban":false,"facebook":false,"weibo":false,"instapaper":false,"whatsapp":false,"hatenaBookmark":false,"twitter":false,"messenger":false,"line":false,"vk":false,"pocket":false,"google":false,"viber":false,"stumbleupon":false,"qzone":false,"linkedin":false},"theme-default":{"styles":{"website":"styles/website.css","pdf":"styles/pdf.css","epub":"styles/epub.css","mobi":"styles/mobi.css","ebook":"styles/ebook.css","print":"styles/print.css"},"showLevel":false},"anchors":{},"expandable-chapters":{}},"theme":"default","pdf":{"pageNumbers":true,"fontSize":12,"fontFamily":"Arial","paperSize":"a4","chapterMark":"pagebreak","pageBreaksBefore":"/","margin":{"right":62,"left":62,"top":56,"bottom":56}},"structure":{"langs":"LANGS.md","readme":"README.md","glossary":"GLOSSARY.md","summary":"SUMMARY.md"},"variables":{},"title":"日常学习笔记","language":"zh-hans","gitbook":"*","description":"日常学习笔记"},"file":{"path":"Vim/vimrc示例1.md","mtime":"2020-01-04T07:51:08.592Z","type":"markdown"},"gitbook":{"version":"3.2.3","time":"2020-03-28T02:57:41.582Z"},"basePath":"..","book":{"language":""}});
        });
    </script>
</div>

        
    <script src="../gitbook/gitbook.js"></script>
    <script src="../gitbook/theme.js"></script>
    
        
        <script src="../gitbook/gitbook-plugin-expandable-chapters/expandable-chapters.js"></script>
        
    
        
        <script src="../gitbook/gitbook-plugin-pageview-count/plugin.js"></script>
        
    
        
        <script src="../gitbook/gitbook-plugin-code/plugin.js"></script>
        
    
        
        <script src="../gitbook/gitbook-plugin-back-to-top-button/plugin.js"></script>
        
    
        
        <script src="../gitbook/gitbook-plugin-hide-element/plugin.js"></script>
        
    
        
        <script src="../gitbook/gitbook-plugin-github-buttons/plugin.js"></script>
        
    
        
        <script src="../gitbook/gitbook-plugin-github/plugin.js"></script>
        
    
        
        <script src="../gitbook/gitbook-plugin-splitter/splitter.js"></script>
        
    
        
        <script src="../gitbook/gitbook-plugin-search-pro/jquery.mark.min.js"></script>
        
    
        
        <script src="../gitbook/gitbook-plugin-search-pro/search.js"></script>
        
    
        
        <script src="../gitbook/gitbook-plugin-sharing-plus/buttons.js"></script>
        
    
        
        <script src="../gitbook/gitbook-plugin-fontsettings/fontsettings.js"></script>
        
    

    </body>
</html>

